package com.study.spmongodb.wwj.thread.char12;

/**
 * @author MI
 * @version 1.0
 * @date 2020/12/6 17:45
 */
public class ThreadGroupCreate {
    public static void main(String[] args) {
        // use name


        //use the parent and group name
        System.out.println(Thread.currentThread().getName());
        System.out.println(Thread.currentThread().getThreadGroup());

    }
}
